package com.bank6677.sync.csm.domain.old;

import java.util.Date;

public class MakeFlow {

    public final static String VALID = "2";//有效的预约
    public final static String INVALID = "1";//无效预约
    
    private Long   makeId;
    private Long   applyId;
    private String makeType;
    private String makeStatus;
    private String makeCause;
    private Date   makeTime;
    private Date   createDt;
    private Date   updateDt;
    private String loanTypeName; //贷款类型
    private String purposeName; //贷款用途
    private Date   applyDt;     //申请时间
    private String linkMan;     //客户姓名
    private String isMake;      //是否进行预约处理，1不预约处理，2预约处理，在 录入资料的时候用
    private String isNew;       //预约是否超时，1是，2不是
    private String adType;      //来源渠道
    private String remark;
    private Integer loanTypeId;
    private Integer purposeId;
    

    
    public String getAdType() {
        return adType;
    }

    public void setAdType(String adType) {
        this.adType = adType;
    }

    public String getIsNew() {
        return isNew;
    }

    public String getRemark() {
		return remark;
	}

	public Integer getLoanTypeId() {
		return loanTypeId;
	}

	public void setLoanTypeId(Integer loanTypeId) {
		this.loanTypeId = loanTypeId;
	}

	public Integer getPurposeId() {
		return purposeId;
	}

	public void setPurposeId(Integer purposeId) {
		this.purposeId = purposeId;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setIsNew(String isNew) {
        this.isNew = isNew;
    }

    public String getIsMake() {
        return isMake;
    }

    public void setIsMake(String isMake) {
        this.isMake = isMake;
    }

    public String getLoanTypeName() {
        return loanTypeName;
    }

    public void setLoanTypeName(String loanTypeName) {
        this.loanTypeName = loanTypeName;
    }

    public String getPurposeName() {
        return purposeName;
    }

    public void setPurposeName(String purposeName) {
        this.purposeName = purposeName;
    }

    public Date getApplyDt() {
        return applyDt;
    }

    public void setApplyDt(Date applyDt) {
        this.applyDt = applyDt;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public Long getMakeId() {
        return makeId;
    }

    public void setMakeId(Long makeId) {
        this.makeId = makeId;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getMakeType() {
        return makeType;
    }

    public void setMakeType(String makeType) {
        this.makeType = makeType == null ? null : makeType.trim();
    }

    public String getMakeStatus() {
        return makeStatus;
    }

    public void setMakeStatus(String makeStatus) {
        this.makeStatus = makeStatus == null ? null : makeStatus.trim();
    }

    public String getMakeCause() {
        return makeCause;
    }

    public void setMakeCause(String makeCause) {
        this.makeCause = makeCause == null ? null : makeCause.trim();
    }

    public Date getMakeTime() {
        return makeTime;
    }

    public void setMakeTime(Date makeTime) {
        this.makeTime = makeTime;
    }

    public Date getCreateDt() {
        return createDt;
    }

    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    public Date getUpdateDt() {
        return updateDt;
    }

    public void setUpdateDt(Date updateDt) {
        this.updateDt = updateDt;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (!(that instanceof MakeFlow)) {
            return false;
        }
        MakeFlow other = (MakeFlow) that;
        return this.getMakeId() == null ? other == null
                : this.getMakeId().equals(other.getMakeId()) && this.getApplyId() == null ? other == null
                        : this.getApplyId().equals(other.getApplyId())
                                && this.getMakeType() == null ? other == null
                                : this.getMakeType().equals(other.getMakeType())
                                        && this.getMakeStatus() == null ? other == null : this
                                        .getMakeStatus().equals(other.getMakeStatus())
                                        && this.getMakeCause() == null ? other == null : this
                                        .getMakeCause().equals(other.getMakeCause())
                                        && this.getMakeTime() == null ? other == null : this
                                        .getMakeTime().equals(other.getMakeTime())
                                        && this.getCreateDt() == null ? other == null : this
                                        .getCreateDt().equals(other.getCreateDt())
                                        && this.getUpdateDt() == null ? other == null : this
                                        .getUpdateDt().equals(other.getUpdateDt());
    }

    @Override
    public int hashCode() {
        int hash = 23;
        if (getMakeId() != null) {
            hash *= getMakeId().hashCode();
        }
        if (getApplyId() != null) {
            hash *= getApplyId().hashCode();
        }
        if (getMakeType() != null) {
            hash *= getMakeType().hashCode();
        }
        if (getMakeStatus() != null) {
            hash *= getMakeStatus().hashCode();
        }
        if (getMakeCause() != null) {
            hash *= getMakeCause().hashCode();
        }
        if (getMakeTime() != null) {
            hash *= getMakeTime().hashCode();
        }
        if (getCreateDt() != null) {
            hash *= getCreateDt().hashCode();
        }
        if (getUpdateDt() != null) {
            hash *= getUpdateDt().hashCode();
        }
        return hash;
    }
}
